<?php

/*
|--------------------------------------------------------------------------
| Routes File
|--------------------------------------------------------------------------
|
| Here is where you will register all of the routes in an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/

Route::get('/', function () {
    return view('menu');
});

Route::get('/register', function () {
    return view('user.register');
});


Route::get('/trade/register', function () {
    return view('trade.register');
});

Route::get('/trade/rebuild', function () {
    return view('trade.rebuild-and-rethink');
});

Route::get('/trade/record', function () {
    return view('trade.trade_record');
});

Route::get('/fund/chart', function () {
    return view('fund.chart');
});

// 交易记录5个页面的路由
Route::get('/trade/trade_record', function () {
    return view('trade.trade_record');
});
Route::get('/trade/record_detail', function () {
    return view('trade.record_detail');
});
Route::get('/trade/data_statis', function () {
    return view('trade.data_statis');
});
Route::get('/trade/re_create_record', function () {
    return view('trade.re_create_record');
});


/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| This route group applies the "web" middleware group to every route
| it contains. The "web" middleware group is defined in your HTTP
| kernel and includes session state, CSRF protection, and more.
|
*/

Route::group(['middleware' => ['web']], function () {
    //
});
